package one.stand.service;

import one.stand.model.ResultModel;
import one.stand.request.CompanyPhotoRequest;
import one.stand.response.CompanyPhotoResponse;

import java.util.List;
import java.util.Map;

/**
 * @author Administrator
 */
public interface CompanyPhotoService {

    /**
     * 分页查询企业配置图片
     *
     * @param request
     * @return
     */
    ResultModel<Map<String, Object>> selectCompanyPhotoPage(CompanyPhotoRequest request);

    /**
     * 查询企业配置图片
     *
     * @param request
     * @return
     */
    ResultModel<List<CompanyPhotoResponse>> selectCompanyPhoto(CompanyPhotoRequest request);

    /**
     * 广告图管理数量查询
     *
     * @param request
     * @return
     */
    ResultModel<List<Map<String, Object>>> selectTypeNum(CompanyPhotoRequest request);

    /**
     * 新增企业配置图片
     *
     * @param request
     * @return
     */
    ResultModel<Boolean> insertCompanyPhoto(CompanyPhotoRequest request);

    /**
     * 上移/下移企业配置图片
     *
     * @param request
     * @return
     */
    ResultModel<Boolean> moveCompanyPhoto(CompanyPhotoRequest request);

    /**
     * 删除企业配置图片
     *
     * @param request
     * @return
     */
    ResultModel<Boolean> delCompanyPhoto(CompanyPhotoRequest request);
}
